package com.itheima.exception;

/**
 * @author 杰哥不要啦~
 * @date 2021/9/17
 */
public class SystemException extends RuntimeException {
    private Boolean code;

    public Boolean getCode() {
        return code;
    }

    public void setCode(Boolean code) {
        this.code = code;
    }

    public SystemException(Boolean code, String message) {
        super(message);
        this.code = code;
    }

    public SystemException(Boolean code,String message, Throwable cause ) {
        super(message, cause);
        this.code = code;
    }

}
